import React from 'react'

// 路由模板加载标签
import { Outlet } from 'react-router-dom'

import Info from '@/components/Order/Info'
import Comment from '@/components/Order/Comment'
import Defund from '@/components/Order/Defund'


// 路由列表
const list = [
    {
        path: 'info',
        component: Info,
        auth:true
    },
    {
        path: 'comment',
        component: Comment,
        auth:true
    },
    {
        path: 'defund',
        component: Defund,
        auth:true
    },
    
]

const Layout = () =>  <Outlet />

const RouterList = [
    {
        path: '/order',
        component: Layout,
        children: list
    }
]


export default RouterList;